/* markdown editor css */
.layui-markdown .tools {
    position: relative;
    display: block;
    top: 1px;
    left: 0;
    padding: 0 10px;
    border: 1px solid #e6e6e6;
    border-radius: 2px 2px 0 0;
    background-color: #FBFBFB;
    height: 40px;
    overflow: hidden;
}

.layui-markdown .tools span {
    cursor: pointer;
    padding: 0 10px;
    line-height: 38px;
    color: #009E94;
}
.layui-markdown .tools span.tool-tip {
    padding: 0;
}
@media screen and (max-width: 500px) {
    .layui-markdown .tools span.tool-tip,
    span.tool-tip{
        display: none;
    }
}
.layui-markdown .tools span.divide {
    border-right: 1px solid #d2d2d2;
    padding-right: 15px;
    margin-right: 5px;
}
.layui-markdown .tools span.hide {
    display: none;
}

.layui-markdown .tools span i {
    padding-right: 6px;
    font-size: 18px;
    position: relative;
    top: -1px;
}

.layui-markdown textarea {
    line-height: 20px;
    width: 100%;
    min-height: 100px;
    padding: 6px 10px;
    resize: vertical;
    font-family: 'YaHei Consolas Hybrid', Consolas, '微软雅黑', 'Meiryo UI',
    'Malgun Gothic', 'Segoe UI', 'Trebuchet MS', Helvetica, Monaco, courier, monospace;
    border: 1px solid #e6e6e6;
    background-color: #fff;
    border-radius: 2px;
    -webkit-box-sizing: border-box !important;
}

.layui-markdown textarea:hover {
    border-color: #D2D2D2 !important;
}

.layui-markdown.full-screen {
    position: fixed;
    z-index: 1112;
    width: 100%;
    height: 100%;
    top: -2px;
    left: 0;
}
.article-preview.full,
.layui-markdown.full-screen{
    animation-name: bounceIn;
    animation-fill-mode: both;
    animation-duration: .1s;
}
.layui-markdown.full-screen textarea {
    height: 95%;
}
.layui-markdown.half {
    width: 48%;
}

/* markdown tools style */
.btn-upload {
    margin-left: 5px;
    display: inline-block;
    color: #1AA094;
    border: 1px solid #1AA094;
    transform: translateY(-2px);
    font-size: 17px;
    padding: 0 10px;
}
@media screen and (max-width: 410px) {
    .btn-upload {
        display: block;
        margin-top: 10px;
        margin-left: 0!important;
    }
}